package org.example.codegenerate.entity;

//import org.jeecgframework.codegenerate.generate.pojo.ColumnVo;

import java.util.Arrays;
import java.util.List;
import java.util.Map;

public class SubTableVo10 {

    private String entityPackage;
    private String tableName;
    private String entityName;
    private String primaryKeyPolicy;
    private String sequenceCode;
    private String ftlDescription;
    private String[] originalForeignKeys;
    private String[] originalForeignMainKeys;
    private String[] foreignKeys;
    private String[] foreignMainKeys;
    private String foreignRelationType;
    private List<ColumnVo10> colums;
    private List<ColumnVo10> originalColumns;
    private Map<?, ?> extendParams;
    public SubTableVo10() {
    }

    public Map<?, ?> getExtendParams() {
        return this.extendParams;
    }

    public void setExtendParams(Map<?, ?> extendParams) {
        this.extendParams = extendParams;
    }

    public String getEntityPackage() {
        return this.entityPackage;
    }

    public String getTableName() {
        return this.tableName;
    }

    public String getEntityName() {
        return this.entityName;
    }

    public String[] getOriginalForeignMainKeys() {
        return this.originalForeignMainKeys;
    }

    public void setOriginalForeignMainKeys(String[] originalForeignMainKeys) {
        this.originalForeignMainKeys = originalForeignMainKeys;
    }

    public String[] getForeignMainKeys() {
        return this.foreignMainKeys;
    }

    public void setForeignMainKeys(String[] foreignMainKeys) {
        this.foreignMainKeys = foreignMainKeys;
    }

    public String getFtlDescription() {
        return this.ftlDescription;
    }

    public List<ColumnVo10> getColums() {
        return this.colums;
    }

    public void setColums(List<ColumnVo10> colums) {
        this.colums = colums;
    }

    public void setEntityPackage(String entityPackage) {
        this.entityPackage = entityPackage;
    }

    public void setTableName(String tableName) {
        this.tableName = tableName;
    }

    public void setEntityName(String entityName) {
        this.entityName = entityName;
    }

    public void setFtlDescription(String ftlDescription) {
        this.ftlDescription = ftlDescription;
    }

    public String[] getForeignKeys() {
        return this.foreignKeys;
    }

    public void setForeignKeys(String[] foreignKeys) {
        this.foreignKeys = foreignKeys;
    }

    public String getPrimaryKeyPolicy() {
        return this.primaryKeyPolicy;
    }

    public String getSequenceCode() {
        return this.sequenceCode;
    }

    public void setPrimaryKeyPolicy(String primaryKeyPolicy) {
        this.primaryKeyPolicy = primaryKeyPolicy;
    }

    public void setSequenceCode(String sequenceCode) {
        this.sequenceCode = sequenceCode;
    }

    public List<ColumnVo10> getOriginalColumns() {
        return this.originalColumns;
    }

    public void setOriginalColumns(List<ColumnVo10> originalColumns) {
        this.originalColumns = originalColumns;
    }

    public String[] getOriginalForeignKeys() {
        return this.originalForeignKeys;
    }

    /** @deprecated */
    @Deprecated
    public void setOriginalForeignKeys(String[] originalForeignKeys) {
        this.originalForeignKeys = originalForeignKeys;
    }

    public String getForeignRelationType() {
        return this.foreignRelationType;
    }

    public void setForeignRelationType(String foreignRelationType) {
        this.foreignRelationType = foreignRelationType;
    }

    public String toString() {
        return "{\"entityPackage\":\"" + this.entityPackage + "\",\"tableName\":\"" + this.tableName + "\",\"entityName\":\"" + this.entityName + "\",\"primaryKeyPolicy\":\"" + this.primaryKeyPolicy + "\",\"sequenceCode\":\"" + this.sequenceCode + "\",\"ftlDescription\":\"" + this.ftlDescription + "\",\"originalForeignKeys\":\"" + Arrays.toString(this.originalForeignKeys) + "\",\"foreignKeys\":\"" + Arrays.toString(this.foreignKeys) + "\",\"colums\":" + this.colums + ",\"originalColumns\":" + this.originalColumns + "}";
    }
}
